﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace GenProj
{
	class Program
	{
		static void Main(string[] args)
		{
			if (args.Length != 1)
			{
				Console.WriteLine("GenProj Usage:\n> GenProj.exe genprojdef.xml\nExample XML:\n");
				Console.WriteLine(Properties.Resources.GenProjSample);
				Console.WriteLine();
				Console.WriteLine("If a file 'file.ext' has a corresponding 'file.ext.ignore' it will be ignored.");
				Console.WriteLine();
				Console.WriteLine("In the project.template.csproj, add a single line within the <Project> tag (ie next to <ItemGroup> tags):");
				Console.WriteLine("  <ProjectExtensions>GENPROJTARGETS</ProjectExtensions>");
			}
			else
			{
				var genProj = new GenProj(args[0]);
			}
		}
	}
}
